package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 资产型号对象 td_model
 * 
 * @author xiuddooo
 * @date 2025-09-17
 */
public class TdModel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private String id;

    /** 品牌_id */
    @Excel(name = "品牌_id")
    private String brandId;

    /** 品牌名称(冗余) */
    @Excel(name = "品牌名称(冗余)")
    private String brandName;

    /** 型号名称 */
    @Excel(name = "型号名称")
    private String name;

    /** 发布年份 */
    @Excel(name = "发布年份")
    private Long releaseYear;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setBrandId(String brandId) 
    {
        this.brandId = brandId;
    }

    public String getBrandId() 
    {
        return brandId;
    }
    public void setBrandName(String brandName) 
    {
        this.brandName = brandName;
    }

    public String getBrandName() 
    {
        return brandName;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setReleaseYear(Long releaseYear) 
    {
        this.releaseYear = releaseYear;
    }

    public Long getReleaseYear() 
    {
        return releaseYear;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("brandId", getBrandId())
            .append("brandName", getBrandName())
            .append("name", getName())
            .append("releaseYear", getReleaseYear())
            .toString();
    }
}
